Some refactoring of domain creation/destruction.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 14 Jan 2006 22:16:43 +0000 (23:16 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 14 Jan 2006 22:16:43 +0000 (23:16 +0100)
commit0ed0e371937cadb524abb1aa5d85789565cec7d6
tree3defd8e98fe5ae430500dbd61189ba76163751d5
parentf59958dd8242e3bafdc7c03623b48222eae5f9de
Some refactoring of domain creation/destruction.

Interface name changes:
1. do_createdomain -> domain_create

2. domain_destruct -> domain_destroy

Arch-specific changes:
1. arch_do_createdomain -> arch_domain_create
This function now takes a domain pointer, not a VCPU
pointer! Initialisation of VCPU0 must happen in
alloc_vcpu_struct().

2. free_perdomain_pt -> arch_domain_destroy
This function must undo the work of arch_domain_create

TODO: arch_domain_create() refactoring is not completed
for ia64.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/ia64/xen/domain.c
xen/arch/ia64/xen/xensetup.c
xen/arch/x86/domain.c
xen/arch/x86/setup.c
xen/common/dom0_ops.c
xen/common/domain.c
xen/common/schedule.c
xen/include/asm-ia64/domain.h
xen/include/xen/domain.h
xen/include/xen/sched.h